﻿//============================================================
//write by bxl at 2021-06-03 14:25:17
//============================================================


using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BCEntity.TMS.TransferStation
{
    /// <summary>
    /// 仓库中转站 数据模型
    /// </summary>
    [Table("transferstation")]
    public class TransferStationEntity
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        /// <summary>
        /// 中转站Id
        /// </summary>
        public long TransferStationId { get; set; }
        /// <summary>
        /// 中转站名字
        /// </summary>
        public string TransferStationName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改人名称
        /// </summary>
        public string EditorId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime EditTime { get; set; }
        /// <summary>
        /// 经度
        /// </summary>
        public double Lng { get; set; }
        /// <summary>
        /// 维度
        /// </summary>
        public double Lat { get; set; }
        /// <summary>
        /// 省/州Id
        /// </summary>
        public long ProvinceId { get; set; }
        /// <summary>
        /// 省/州名称
        /// </summary>
        public string ProvinceName { get; set; }
        /// <summary>
        /// 市Id
        /// </summary>
        public long CityId { get; set; }
        /// <summary>
        /// 市名称
        /// </summary>
        public string CityName { get; set; }
        /// <summary>
        /// 县Id
        /// </summary>
        public long CountyId { get; set; }
        /// <summary>
        /// 县名称
        /// </summary>
        public string CountyName { get; set; }
        /// <summary>
        /// 中转站地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        public long? CompanyId { get; set; }
        /// <summary>
        /// 公司名称 
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

    }
}
